package com.health.db.dao.msg.impl;

import java.util.List;

import com.health.db.dao.ServiceInterface;
import com.health.db.dao.msg.IIHisIMMessageDao;
 
import com.health.db.mapper.IHisIMMessageMapper;
import com.health.db.model.IHisIMMessage;
import com.health.db.model.IHisIMMessageExt;
 

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by helili on 2017/3/7.
 */

public class IHisIMMessageDaoImpl extends ServiceInterface implements IIHisIMMessageDao {
    @Autowired
    private IHisIMMessageMapper iHisIMMessageMapper;

    
	@Override
	public int insert(IHisIMMessage record) {
		// TODO Auto-generated method stub
		return iHisIMMessageMapper.insert(record);
	}


	@Override
	public List<IHisIMMessage> selectByCondition(IHisIMMessageExt example) {
		// TODO Auto-generated method stub
		return null;
	}


	public IHisIMMessageMapper getiHisIMMessageMapper() {
		return iHisIMMessageMapper;
	}

	public void setiHisIMMessageMapper(IHisIMMessageMapper iHisIMMessageMapper) {
		this.iHisIMMessageMapper = iHisIMMessageMapper;
	}


	@Override
	public void insertBatch(List<IHisIMMessage> record) {
		
		iHisIMMessageMapper.insertBatch(record);
		
	}

	
}
